package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Processmethod;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface ProcessmethodService {

	public Processmethod saveProcessmethod(Processmethod processmethod);

	public Set<Processmethod> loadProcessmethods();

	public Set<Processmethod> loadReferenceProcessmethods(Set<Processmethod> processmethods);

	public Set<Processmethod> loadProcessmethodsByIdSet(Set<Integer> processmethodsId);

	public Map<String, ?> loadProcessmethodObjectReferencedSet(Processmethod processmethod);

	public Map<String, ?> loadProcessmethodClassReferencedSet(Processmethod processmethod);

	public void deleteProcessmethod(Processmethod processmethod);

	public void deleteProcessmethods(Set<Integer> deleteProcessmethodsId);

	public List<Processmethod> findAllProcessmethods(Integer startResult, Integer maxRows);

	public Processmethod findProcessmethodByPrimaryKey(Integer id);

	public Integer countProcessmethods();

	public Integer countProcessmethods(CmiPagination page);

	public Integer countProcessmethodsByName(String queryName);

	public Integer countProcessmethodsByDetachedCriteria(CmiPagination page);

}
